package cn.edu.neusoft.fragment112gxl.fragment;


import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget.Toast;

import cn.edu.neusoft.fragment112gxl.R;

public class SettingFragment extends Fragment {

    private View view;
    private Context context;
    private TextView tvinfo;


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
       context = getContext();
        view = inflater.inflate(R.layout.sfragment,container,false);
        tvinfo = (TextView)view.findViewById(R.id.s);
        tvinfo.setText("设置");
        Toast.makeText(context, "加载设置", Toast.LENGTH_SHORT).show();
        return view;
    }

}
